package com.dks.repository;

import java.util.*;
import com.dks.models.Advertising;
import com.dks.result.ResultModel;

public interface IAdvertisingRepository {

    Integer insert(Advertising advertising);

    Integer update(Advertising advertising);

    Integer delete(Integer id);

    Advertising select(Integer id);

    Integer cntByMap(Map<String, Object> map);

    List<Integer> getByMap(Map<String, Object> map);

    List<Advertising> getByMapList(Map<String, Object> map);

    ResultModel<Object> getAdvertisingInfo(Map<String, Object> map);
}
